package cn.ticket.service;

import java.util.List;


import cn.ticket.model.Busorder;

public interface BusOrderService {
	 int deleteByPrimaryKey(Integer id);

	    int insert(Busorder record);

	    int insertSelective(Busorder record);

	    Busorder selectByPrimaryKey(Integer id);

	    int updateByPrimaryKeySelective(Busorder record);

	    int updateByPrimaryKey(Busorder record);
	    
	    List<Busorder> getAll();
	    
	    List<Busorder> getByCount(int start,int count);
	    
	    List<Busorder> getValideOrder0();
	    
	    List<Busorder> getValideOrder1();
	    
	    List<Busorder> getValidateOrders();
	    
	    List<Busorder> getInvalidateOrders();
	    
	    int seatOccupationRemove1(int id);
	    
	    int seatOccupationAdd1(int id);
}
